package com.baox.agridata.synchronous.service.quanguo.impl;

import com.baox.agridata.synchronous.dao.quanguo.McGrxxsMapper;
import com.baox.agridata.synchronous.entity.quanguo.McGrxxs;
import com.baox.agridata.synchronous.service.quanguo.McGrxxsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class McGrxxsServiceImpl implements McGrxxsService {

    @Autowired
    private McGrxxsMapper mcGrxxsMapper;


    @Override
    public McGrxxs selectGrxxsById(String id) {
        return mcGrxxsMapper.selectGrxxsById(id);
    }

    @Override
    public Integer batchInsertMcGrxxs(List<McGrxxs> list) {
        return mcGrxxsMapper.batchInsertMcGrxxs(list);
    }

    @Override
    public Integer batchUpdateMcGrxxs(List<McGrxxs> list) {
        return mcGrxxsMapper.batchUpdateMcGrxxs(list);
    }
}
